import Vue from 'vue'
import axios from 'axios'

import App from './App.vue'
import router from './router'
import store from './store'

import mixins from '../mixins/index'

import ajax from '../utils/ajax'
import http from '../utils/http'


Vue.mixin(mixins);

Vue.use(ajax);
Vue.use(http);

if (!process.env.IS_WEB)
    Vue.use(require('vue-electron'));

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
    components: {App},
    router,
    store,
    template: '<App/>'
}).$mount('#app');
